package com.zhu.demodb.mapper;

import com.zhu.demodb.entity.Man;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface ManMapper {
    //注释的实现方式
    @Select("select * from man where id = #{id}")
    public Man getMan(@Param("id")String id);

    public int createMan(Man man);
}
